home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / cg.h < prev    next >
Text File  |  2007-03-01  |  7KB  |  251 lines

  1. /*
  2.  * Copyright 1993, 1994, 1995, 1999 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    cg.h
  12.  *
  13.  *        Character encoding for the 3270 character generator font,
  14.  *        using the same suffixes as Latin-1 XK_xxx keysyms.
  15.  *
  16.  *        Charaters that represent unique EBCDIC or status line codes
  17.  *        are noted with comments.
  18.  */
  19.  
  20. #define CG_null        0x00    /* EBCDIC 00 */
  21. #define CG_nobreakspace    0x01
  22. #define CG_ff        0x02    /* EBCDIC 0C */
  23. #define CG_cr        0x03    /* EBCDIC 0D */
  24. #define CG_nl        0x04    /* EBCDIC 15 */
  25. #define CG_em        0x05    /* EBCDIC 19 */
  26. #define CG_eightones    0x06    /* EBCDIC FF */
  27. #define CG_hyphen    0x07
  28. #define CG_greater    0x08
  29. #define CG_less        0x09
  30. #define CG_bracketleft    0x0a
  31. #define CG_bracketright    0x0b
  32. #define CG_parenleft    0x0c
  33. #define CG_parenright    0x0d
  34. #define CG_braceleft    0x0e
  35. #define CG_braceright    0x0f
  36. #define CG_space    0x10
  37. #define CG_equal    0x11
  38. #define CG_apostrophe    0x12
  39. #define CG_quotedbl    0x13
  40. #define CG_slash    0x14
  41. #define CG_backslash    0x15
  42. #define CG_bar        0x16
  43. #define CG_brokenbar    0x17
  44. #define CG_question    0x18
  45. #define CG_exclam    0x19
  46. #define CG_dollar    0x1a
  47. #define CG_cent        0x1b
  48. #define CG_sterling    0x1c
  49. #define CG_yen        0x1d
  50. #define CG_paragraph    0x1e
  51. #define CG_currency    0x1f
  52. #define CG_0        0x20
  53. #define CG_1        0x21
  54. #define CG_2        0x22
  55. #define CG_3        0x23
  56. #define CG_4        0x24
  57. #define CG_5        0x25
  58. #define CG_6        0x26
  59. #define CG_7        0x27
  60. #define CG_8        0x28
  61. #define CG_9        0x29
  62. #define CG_ssharp    0x2a
  63. #define CG_section    0x2b
  64. #define CG_numbersign    0x2c
  65. #define CG_at        0x2d
  66. #define CG_percent    0x2e
  67. #define CG_underscore    0x2f
  68. #define CG_ampersand    0x30
  69. #define CG_minus    0x31
  70. #define CG_period    0x32
  71. #define CG_comma    0x33
  72. #define CG_colon    0x34
  73. #define CG_plus        0x35
  74. #define CG_notsign    0x36
  75. #define CG_macron    0x37
  76. #define CG_degree    0x38
  77. #define CG_periodcentered    0x39
  78. #define CG_asciicircum    0x3a
  79. #define CG_asciitilde    0x3b
  80. #define CG_diaeresis    0x3c
  81. #define CG_grave    0x3d
  82. #define CG_acute    0x3e
  83. #define CG_cedilla    0x3f
  84. #define CG_agrave    0x40
  85. #define CG_egrave    0x41
  86. #define CG_igrave    0x42
  87. #define CG_ograve    0x43
  88. #define CG_ugrave    0x44
  89. #define CG_atilde    0x45
  90. #define CG_otilde    0x46
  91. #define CG_ydiaeresis    0x47
  92. #define CG_Yacute    0x48
  93. #define CG_yacute    0x49
  94. #define CG_eacute    0x4a
  95. #define CG_onequarter    0x4b
  96. #define CG_onehalf    0x4c
  97. #define CG_threequarters    0x4d
  98. #define CG_udiaeresis    0x4e
  99. #define CG_udiaeresis    0x4e
  100. #define CG_ccedilla    0x4f
  101. #define CG_adiaeresis    0x50
  102. #define CG_ediaeresis    0x51
  103. #define CG_idiaeresis    0x52
  104. #define CG_odiaeresis    0x53
  105. #define CG_mu        0x54
  106. #define CG_acircumflex    0x55
  107. #define CG_ecircumflex    0x56
  108. #define CG_icircumflex    0x57
  109. #define CG_ocircumflex    0x58
  110. #define CG_ucircumflex    0x59
  111. #define CG_aacute    0x5a
  112. #define CG_multiply    0x5b
  113. #define CG_iacute    0x5c
  114. #define CG_oacute    0x5d
  115. #define CG_uacute    0x5e
  116. #define CG_ntilde    0x5f
  117. #define CG_Agrave    0x60
  118. #define CG_Egrave    0x61
  119. #define CG_Igrave    0x62
  120. #define CG_Ograve    0x63
  121. #define CG_Ugrave    0x64
  122. #define CG_Atilde    0x65
  123. #define CG_Otilde    0x66
  124. #define CG_onesuperior    0x67
  125. #define CG_twosuperior    0x68
  126. #define CG_threesuperior    0x69
  127. #define CG_ordfeminine    0x6a
  128. #define CG_masculine    0x6b
  129. #define CG_guillemotleft    0x6c
  130. #define CG_guillemotright    0x6d
  131. #define CG_exclamdown    0x6e
  132. #define CG_questiondown    0x6f
  133. #define CG_Adiaeresis    0x70
  134. #define CG_Ediaeresis    0x71
  135. #define CG_Idiaeresis    0x72
  136. #define CG_Odiaeresis    0x73
  137. #define CG_Udiaeresis    0x74
  138. #define CG_Acircumflex    0x75
  139. #define CG_Ecircumflex    0x76
  140. #define CG_Icircumflex    0x77
  141. #define CG_Ocircumflex    0x78
  142. #define CG_Ucircumflex    0x79
  143. #define CG_Aacute    0x7a
  144. #define CG_Eacute    0x7b
  145. #define CG_Iacute    0x7c
  146. #define CG_Oacute    0x7d
  147. #define CG_Uacute    0x7e
  148. #define CG_Ntilde    0x7f
  149. #define CG_a        0x80
  150. #define CG_b        0x81
  151. #define CG_c        0x82
  152. #define CG_d        0x83
  153. #define CG_e        0x84
  154. #define CG_f        0x85
  155. #define CG_g        0x86
  156. #define CG_h        0x87
  157. #define CG_i        0x88
  158. #define CG_j        0x89
  159. #define CG_k        0x8a
  160. #define CG_l        0x8b
  161. #define CG_m        0x8c
  162. #define CG_n        0x8d
  163. #define CG_o        0x8e
  164. #define CG_p        0x8f
  165. #define CG_q        0x90
  166. #define CG_r        0x91
  167. #define CG_s        0x92
  168. #define CG_t        0x93
  169. #define CG_u        0x94
  170. #define CG_v        0x95
  171. #define CG_w        0x96
  172. #define CG_x        0x97
  173. #define CG_y        0x98
  174. #define CG_z        0x99
  175. #define CG_ae        0x9a
  176. #define CG_oslash    0x9b
  177. #define CG_aring    0x9c
  178. #define CG_division    0x9d
  179. #define CG_fm        0x9e    /* EBCDIC 1E */
  180. #define CG_dup        0x9f    /* EBCDIC 1C */
  181. #define CG_A        0xa0
  182. #define CG_B        0xa1
  183. #define CG_C        0xa2
  184. #define CG_D        0xa3
  185. #define CG_E        0xa4
  186. #define CG_F        0xa5
  187. #define CG_G        0xa6
  188. #define CG_H        0xa7
  189. #define CG_I        0xa8
  190. #define CG_J        0xa9
  191. #define CG_K        0xaa
  192. #define CG_L        0xab
  193. #define CG_M        0xac
  194. #define CG_N        0xad
  195. #define CG_O        0xae
  196. #define CG_P        0xaf
  197. #define CG_Q        0xb0
  198. #define CG_R        0xb1
  199. #define CG_S        0xb2
  200. #define CG_T        0xb3
  201. #define CG_U        0xb4
  202. #define CG_V        0xb5
  203. #define CG_W        0xb6
  204. #define CG_X        0xb7
  205. #define CG_Y        0xb8
  206. #define CG_Z        0xb9
  207. #define CG_AE        0xba
  208. #define CG_Ooblique    0xbb
  209. #define CG_Aring    0xbc
  210. #define CG_Ccedilla    0xbd
  211. #define CG_semicolon    0xbe
  212. #define CG_asterisk    0xbf
  213.  
  214.     /* codes 0xc0 through 0xcf are for field attributes */
  215.  
  216. #define CG_copyright    0xd0
  217. #define CG_registered    0xd1
  218. #define CG_boxA        0xd2    /* status boxed A */
  219. #define CG_insert    0xd3    /* status insert mode indicator */
  220. #define CG_boxB        0xd4    /* status boxed B */
  221. #define CG_box6        0xd5    /* status boxed 6 */
  222. #define CG_plusminus    0xd6
  223. #define CG_ETH        0xd7
  224. #define CG_rightarrow    0xd8
  225. #define CG_THORN    0xd9
  226. #define CG_upshift    0xda    /* status upshift indicator */
  227. #define CG_human    0xdb    /* status illegal position indicator */
  228. #define CG_underB    0xdc    /* status underlined B */
  229. #define CG_downshift    0xdd    /* status downshift indicator */
  230. #define CG_boxquestion    0xde    /* status boxed question mark */
  231. #define CG_boxsolid    0xdf    /* status solid block */
  232.  
  233.     /* codes 0xe0 through 0xef are for field attributes */
  234.  
  235. #define CG_badcommhi    0xf0    /* status bad communication indicator */
  236. #define CG_commhi    0xf1    /* status communication indicator */
  237. #define CG_commjag    0xf2    /* status communication indicator */
  238. #define CG_commlo    0xf3    /* status communication indicator */
  239. #define CG_clockleft    0xf4    /* status wait symbol */
  240. #define CG_clockright    0xf5    /* status wait symbol */
  241. #define CG_lock        0xf6    /* status keyboard lock X symbol */
  242. #define CG_eth        0xf7
  243. #define CG_leftarrow    0xf8
  244. #define CG_thorn    0xf9
  245. #define CG_keyleft    0xfa    /* status key lock indicator */
  246. #define CG_keyright    0xfb    /* status key lock indicator */
  247. #define CG_box4        0xfc    /* status boxed 4 */
  248. #define CG_underA    0xfd    /* status underlined A */
  249. #define CG_magcard    0xfe    /* status magnetic card indicator */
  250. #define CG_boxhuman    0xff    /* status boxed position indicator */
  251.